<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<head th:replace="layout::header"></head>

<body>
<nav th:replace="layout::navbar"></nav>
    <div class="container">
        <h2>片源发售页面</h2>
        <div class="admin2">
        <form action="/film/save" th:object="${film}" method="POST">
            <input type="text" placeholder="电影名称" th:field="${film.name}">
            <select th:field="${film.stage}">
                <option th:value="未上映">未上映</option>
                <option th:value="已上映">已上映</option>
                <option th:value="即将上映">即将上映</option>
            </select>
            <select th:field="${film.area}">
                <option th:value="中国">中国</option>
                <option th:value="美国">美国</option>
                <option th:value="日本">日本</option>
                <option th:value="新加坡">新加坡</option>
                <option th:value="韩国">韩国</option>
                <option th:value="英国">英国</option>
                <option th:value="印度">印度</option>
            </select>
            <input type="text" placeholder="上映日期" th:field="${film.data}">
            <button type="submit">新建电影</button>
        </form>
    </div>
    </div>
</body>
</html>